Language

@Serializable
data class Language(val id: Int, val name: String, val official: Boolean, val iso639: String, val iso3166: String, val names: List<Name>) : NamedModel(source)

Languages are resources for translating API resource information into different languages. They have an identifier and several codes for different language standards. See: https://pokeapi.co/docs/v2#languages

Parameters

id

The identifier for this resource.

name

The name for this resource.

official

Whether or not the language is official.

iso639

The two-letter code of the language as per ISO 639.

iso3166

The two-letter code of the country as per ISO 3166.

names

The localized names for this language resource.

Constructors

Link copied to clipboard
constructor(id: Int, name: String, official: Boolean, iso639: String, iso3166: String, names: List<Name>)

Properties

Link copied to clipboard
open override val id: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val name: String
Link copied to clipboard
Link copied to clipboard